package me.zhengjie.modules.web.service.pay;

import me.zhengjie.modules.web.domain.order.OrderCancelRequest;
import me.zhengjie.modules.web.domain.pay.OrderSubmitRequest;
import me.zhengjie.modules.web.domain.pay.OrderSubmitResponse;

/**
 * 取消订单
 */
public interface IOrderCancelService {
    /**
     * 订单类型
     * @return
     */
    int orderType();

    /**
     * 执行
     * @param request
     * @return
     */
    boolean execute(OrderCancelRequest request);
}
